package com.ticket.sass.common.douyin.openapi.resposne

import com.google.gson.annotations.SerializedName
import com.ticket.sass.common.douyin.openapi.enums.CertificateStatus

data class QueryCodeStatus(
    @SerializedName("certificate") val certificate: Certificate
) : ApiResponseBaseData() {
    data class Certificate(
        @SerializedName("encrypted_code") val encryptedCode: String,
        @SerializedName("status") val status: CertificateStatus,
        @SerializedName("verify") val verify: VerifyRecord,
        @SerializedName("sku") val sku: Sku,
    )

    data class VerifyRecord(
        @SerializedName("verify_id") val verifyId: String,
        @SerializedName("certificate_id") val certificateId: String,
    )

    data class Sku(
        @SerializedName("sku_id") val skuId: String,
    )
}

